package com.sx.yqxt.pojo.vo;

import com.sx.yqxt.pojo.entity.Record;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
public class ChartNumVO1 {
    private String date;
    private Integer value;
    public ChartNumVO1(Record record){
        this.date = record.getDate();
        this.value = record.getConfirm();
    }
}
